Tweak Your Mac Terminal: The Simple guide to HomeBrew for the macOS by Daniel Platt

Tweak Your Mac Terminal: The Simple guide to HomeBrew for the macOS by Daniel Platt

Author:Daniel Platt
Language: eng
Format: azw3
Published: 2017-08-24T07:00:00+00:00


Let’s assume you want to control what’s in your .bash_profile file. That you want to do this manually, rather than just copy and pasting the above `echo` command.

First of all, you need to edit your .bash_profile.

$ nano .bash_profile

If you don’t have a line starting “export PATH”, then you will need to paste in the above command.

export PATH=”/usr/local/sbin:$PATH”

What if you already do have a PATH defined?

All the PATH variable is, is a list of directories, separated by the : symbol. When you specify the $PATH variable within itself, you are really saying, I want the system directories, plus these extra ones.

E.g. PATH=”/dir/1:/dir/2:$PATH”



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.